package com.linghang.demo.req;

import java.util.Date;

public class JoinusSaveReq {
    private Integer id;

   // @NotNull(message = "【姓名】不能为空")
    private String name;

    //@NotNull(message = "【专业班级】不能为空")
    private String major;
   // @NotNull(message = "【QQ号】不能为空")
    private String qqnumber;
   // @NotNull(message = "【电话号】不能为空")
    private String phonenumber;

    private Integer ispass;
   // @NotNull(message = "【创建时间】不能为空")
    private Date createTime;

    private Date updateTime;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getMajor() {
        return major;
    }

    public void setMajor(String major) {
        this.major = major;
    }

    public String getQqnumber() {
        return qqnumber;
    }

    public void setQqnumber(String qqnumber) {
        this.qqnumber = qqnumber;
    }

    public String getPhonenumber() {
        return phonenumber;
    }

    public void setPhonenumber(String phonenumber) {
        this.phonenumber = phonenumber;
    }

    public Integer getIspass() {
        return ispass;
    }

    public void setIspass(Integer ispass) {
        this.ispass = ispass;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", name=").append(name);
        sb.append(", major=").append(major);
        sb.append(", qqnumber=").append(qqnumber);
        sb.append(", phonenumber=").append(phonenumber);
        sb.append(", ispass=").append(ispass);
        sb.append(", createTime=").append(createTime);
        sb.append(", updateTime=").append(updateTime);
        sb.append("]");
        return sb.toString();
    }
}